package com.hust.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质月监测数据对象 hh_mon_quality
 * 
 * @author hust
 * @date 2024-12-13
 */
@Data
public class QualityMonitor
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 序号 */
    @Excel(name = "序号")
    private String CODE;

    /** 采样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采样时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date SPT;

    /** PH值(无量纲) */
    @Excel(name = "PH值(无量纲)")
    private Long PH;

    /** 溶解氧(mg/L) */
    @Excel(name = "溶解氧(mg/L)")
    private Long DO;

    /** 高锰酸盐指数(mg/L) */
    @Excel(name = "高锰酸盐指数(mg/L)")
    private Long IMN;

    /** 化学需氧量(mg/L) */
    @Excel(name = "化学需氧量(mg/L)")
    private Long COD;

    /** 五日生化需氧量(mg/L) */
    @Excel(name = "五日生化需氧量(mg/L)")
    private Long BOD5;

    /** 氨氮(mg/L) */
    @Excel(name = "氨氮(mg/L)")
    private Long NH3N;

    /** 总磷(mg/L) */
    @Excel(name = "总磷(mg/L)")
    private Long TP;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("CODE", getCODE())
            .append("SPT", getSPT())
            .append("PH", getPH())
            .append("DO", getDO())
            .append("IMN", getIMN())
            .append("COD", getCOD())
            .append("BOD5", getBOD5())
            .append("NH3N", getNH3N())
            .append("TP", getTP())
            .toString();
    }
}
